<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/11/29
 * Time: 16:55
 */

//   $_POST


  if($_SERVER['REQUEST_METHOD']!='POST'){

      echo '<br />用户的IP地址是： '.$_SERVER['REMOTE_ADDR'];
      echo '<br />用户访问的网址是： '.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
      echo '<br />用户访问方法： '.$_SERVER['REQUEST_METHOD'];


     die;

  }
//print_r($_POST);
